package com.book.dao;

import com.book.pojo.OrderDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderDetailDao {
    int deleteByPrimaryKey(String id);

    int insert(OrderDetail record);

    int insertSelective(OrderDetail record);

    OrderDetail selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OrderDetail record);

    int updateByPrimaryKey(OrderDetail record);

    List<OrderDetail> getOrderDetailListByOrderNo(String orderNo);

    List<OrderDetail> getOrderDetailByBookCodeList(@Param("bookCodeList") List<String> bookCodeList);
}